import { IPSDEDRCounter } from './ipsdedrcounter';
import { PSSysCounterImpl } from './pssys-counter-impl';

export class PSDEDRCounterImpl extends PSSysCounterImpl implements IPSDEDRCounter {
  get extendMode(): 0 | 2 {
    return this.M.extendMode != null ? this.M.extendMode : 0;
  }

  get cls(): string {
    return 'PSDEDRCounterImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'IPSModelObject' || cls == 'IPSObject' || cls == 'control.counter.IPSDEDRCounter' || cls == 'dataentity.IPSDataEntityObject') return true;
    return super.instanceof(cls);
  }
}
